package cn.b.sky.admin.model.condition;

import cn.b.sky.admin.model.Page;

import java.util.Date;

public class TimeJobCondition extends Page {
  // 作业代码
  private String jobCode;

  // 作业描述
  private String jobDesc;

  // 作业类名（包含package的全路径）
  private String jobClass;

  // cron表达式的描述（如：每天凌晨12点执行）
  private String cronDesc;

  // 完整的cron表达式
  private String cronExpression;

  // 上次执行时间
  private Date lastExecutionTime;

  // 是否启用标志
  private Integer enableFlag;

  /**
   * 是否并发执行，0-并行 1--串行，默认并行
   */
  private Integer concurrent;

  public String getJobCode() {
    return jobCode;
  }

  public void setJobCode(String jobCode) {
    this.jobCode = jobCode;
  }

  public String getJobDesc() {
    return jobDesc;
  }

  public void setJobDesc(String jobDesc) {
    this.jobDesc = jobDesc;
  }

  public String getJobClass() {
    return jobClass;
  }

  public void setJobClass(String jobClass) {
    this.jobClass = jobClass;
  }

  public String getCronDesc() {
    return cronDesc;
  }

  public void setCronDesc(String cronDesc) {
    this.cronDesc = cronDesc;
  }

  public String getCronExpression() {
    return cronExpression;
  }

  public void setCronExpression(String cronExpression) {
    this.cronExpression = cronExpression;
  }

  public Date getLastExecutionTime() {
    return lastExecutionTime;
  }

  public void setLastExecutionTime(Date lastExecutionTime) {
    this.lastExecutionTime = lastExecutionTime;
  }

  public Integer getEnableFlag() {
    return enableFlag;
  }

  public void setEnableFlag(Integer enableFlag) {
    this.enableFlag = enableFlag;
  }

  public Integer getConcurrent() {
    return concurrent;
  }

  public void setConcurrent(Integer concurrent) {
    this.concurrent = concurrent;
  }

}
